package com.demo.webapp.exception;

/**
 * 站点访问异常<br>
 * 多站点或站点间切换出错.
 * 
 * @author ryuu.kk
 *
 */
public class SiteAccessException extends RuntimeException {

	/**
	 * 版本序列化ID
	 */
	private static final long serialVersionUID = -3974257242214597071L;

	/**
	 * 造成原因/解决办法。
	 */
	private String occurrence;
	
	/**
	 * 构造函数
	 * @param message 消息
	 */
	public SiteAccessException(String message) {
		super(message);
	}

	public String getOccurrence() {
		return occurrence;
	}

	public void setOccurrence(String occurrence) {
		this.occurrence = occurrence;
	}
}
